package boot.spring.service;

import boot.spring.vo.TouristImportVo;
import com.alibaba.fastjson.JSONObject;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

public interface TouristService {

    /**
     * 导入游客信息
     * @param fileName
     * @return
     */
    public List<TouristImportVo> importTourist(String fileName);

    /**
     * 提交订单第一步
     * @param allOrder
     * @param dayStr
     */
    Map<String,Long> submitOrderOne(List<Map<String, Object>> allOrder, String dayStr);

    /**
     * 数据导入初始化
     */
    void initRedis();

    Boolean submitOrderTwo(Map<String,List<TouristImportVo>> dataMap, String priority, String guideName, Map<String, Long> ticketId,String dayStr) throws ParseException, InterruptedException;

}
